﻿function confirm1(title, message, onPressYes) {
    $.messager.confirm(title, message, function (result) {
        if (result) {
            onPressYes();
        }
        return result;
    });
}

$.messager.defaults = { ok: "是", cancel: "否" };